<?php foreach ($post->comments as $comment):?>
<div class="comment">
    <div class="face"><?php echo CHtml::image('http://www.gravatar.com/avatar/' . md5($comment->email) . '?s=60&d=mm')?></div>
    <div class="right">
        <div>
        <span class="name"><?php echo CHtml::link(htmlspecialchars($comment->name), Helper::getForeignUrl($comment->url))?></span>
        <span class="time"><?php echo $comment->add_datetime?></span>
        </div>
        <div class="content"><?php echo nl2br(htmlspecialchars($comment->content))?></div>
    </div>
</div>
<?php endforeach;?>
